package cn.sfrog.project.biz.web.vo.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 分页数据
 */
@Data
@ApiModel(description = "转赠陪护豆表单VO")
public class AppUserGiveAwayFormVO {


    @ApiModelProperty("转赠人手机号")
    private String receiverUserPhone;

    @ApiModelProperty("转赠数量")
    @NotNull(message = "转赠数量不能为空")
    @DecimalMin(value = "1",message = "单笔转赠数量最小为1陪护豆")
    @DecimalMax(value = "5000",message = "单笔转赠数量最小为5000陪护豆")
    private BigDecimal giveAwayAmount;

    @ApiModelProperty("用户类型( 10=会员 20=陪诊 30=护工 40=医生)")
    private String userType;





}
